from employee import Employee

class PayrollDatabase:
    def __init__(self) -> None:
        self.employees = {}

    def get_employee(self, empId :int) -> Employee:
        return self.employees[empId]
    
    def add_employee(self, empId :int, e :Employee) -> None:
        self.employees[empId] = e

    def clear(self):
        self.employees.clear()